Skip to content

fix: rewrite stale ls prompt examples#267

Open
ariane-emory wants to merge 18 commits intodevfrom
fix/lingering-list-references
Open

fix: rewrite stale ls prompt examples#267
ariane-emory wants to merge 18 commits intodevfrom
fix/lingering-list-references

Conversation

@ariane-emory
Copy link
Copy Markdown
Owner

@ariane-emory ariane-emory commented Apr 17, 2026

Issue for this PR

Closes anomalyco#23132

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

The list tool no longer exists (or any tool called ls), so prompt examples should not tell models to use it. Rewrite the lingering references to use glob-based examples that match the current toolset.

How did you verify your code works?

bun test, bun typecheck.

Screenshots / recordings

N/A

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

ariane-emory and others added 18 commits April 17, 2026 12:53
The list tool no longer exists, so prompt examples should not tell models
to use it. Rewrite the lingering references to use glob-based examples
that match the current toolset.
The plain-language examples in the default and trinity prompts should read
like direct answers, not bracketed stage directions. Rewrite the follow-up
glob-based examples to keep the wording natural.
The read tool can list directory contents, so the prompt examples should
recommend it instead of glob for these directory-inspection cases.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove lingering advice to use an ls command in 3 models' system prompts

1 participant